home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILSTEM / DDOSAID.LZH / SWITCH.ASM < prev    next >
Assembly Source File  |  1985-12-12  |  1KB  |  40 lines

  1.            PAGE    62,132
  2.            Title   DoubleDOS Utility: Switch
  3.  
  4. CR         EQU     0Dh                      ;ASCII Carriage Return
  5. LF         EQU     0Ah                      ;ASCII Line Feed
  6. $          EQU     24h                      ;String termination charachter
  7.  
  8. Dos_Call           EQU     21h
  9. Terminate_Program  EQU     00h
  10. Put_String         EQU     09h
  11. DD_Menu_Control    EQU     0E0h
  12. Switch_Jobs        EQU     01h
  13.  
  14. Code_Seg   SEGMENT 
  15.            ASSUME  cs:Code_Seg,ds:Code_Seg,es:Code_Seg
  16.            ORG     0100h  
  17. Main       PROC    NEAR
  18.  
  19.            mov     ah,Put_String
  20.            mov     dx,OFFSET Switching
  21.            int     Dos_Call
  22.  
  23.            mov     ah,DD_Menu_Control
  24.            mov     al,Switch_Jobs
  25.            int     Dos_Call
  26.  
  27.            mov     ah,Terminate_Program
  28.            int     Dos_Call
  29.  
  30. Switching  DB      CR,LF,'DoubleDOS Utility - by Chris M. Magyar'
  31.            DB      ' - 12/12/85'
  32.            DB      CR,LF
  33.            DB      CR,LF,'Switching Partitions Now.'
  34.            DB      CR,LF,$
  35.  
  36. Main       ENDP
  37. Code_Seg   ENDS
  38.            END Main
  39.  
  40.